package com.example.order.rpc.facade;

import com.example.apis.user.UserProvider;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

/**
 * 订单 接入层
 *
 * @author Lv
 * @date 2023/10/02
 */
@Component
public class OrderFacade {

    @DubboReference
    private UserProvider userProvider;

    /**
     * 测试用户接口RPC调用
     *
     * @return
     */
    public String testUserRpc() {
        return userProvider.testUserRpc();
    }
}
